package com.click369.mianshiqingbao.mapper;

import com.click369.mianshiqingbao.pojo.AnswerBean;
import com.click369.mianshiqingbao.pojo.AnswerBeanExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 题目答案信息的数据访问接口
 */
public interface AnswerBeanMapper {
    long countByExample(AnswerBeanExample example);

    int deleteByExample(AnswerBeanExample example);

    int deleteByPrimaryKey(Long answerId);

    int insert(AnswerBean record);

    int insertSelective(AnswerBean record);

    List<AnswerBean> selectByExample(AnswerBeanExample example);

    AnswerBean selectByPrimaryKey(Long answerId);

    int updateByExampleSelective(@Param("record") AnswerBean record, @Param("example") AnswerBeanExample example);

    int updateByExample(@Param("record") AnswerBean record, @Param("example") AnswerBeanExample example);

    int updateByPrimaryKeySelective(AnswerBean record);

    int updateByPrimaryKey(AnswerBean record);
}